export interface ContentCategoryListParams {
  categoryName?: string
  contentPort?: number
  categorySort?: number
  startTime?: string
  endTime?: string
  pageNum?: number
  pageSize?: number
}

export interface ContentCategoryItem {
  id?: number
  categoryName: string
  contentPort: number
  categorySort: number
  createTime?: string
}

export interface ContentCategoryListResponse {
  list: ContentCategoryItem[]
  pageNum: number
  pageSize: number
  pages: number
  total: number
}

export interface ContentListParams {
  categoryId?: number
  contentPort?: number
  title?: string
  state?: number
  startTime?: string
  endTime?: string
  pageNum?: number
  pageSize?: number
}

export interface ContentItem {
  id?: number
  categoryId: number
  categoryName?: string
  contentPort: number
  contentSort: number
  title: string
  state?: number
  contentType: number
  details: string
  createTime?: string
}

export interface ContentListResponse {
  list: ContentItem[]
  pageNum: number
  pageSize: number
  pages: number
  total: number
}
